package com.raymond.cmpp.common.packet;

/**
 * 提交短信请求
 *
 * @author :  raymond
 * @version :  V1.0
 * @date :  2021-08-05 18:32
 */
public enum SubmitRequest {
    MSG_ID(8),
    PK_TOTAL(1),
    PK_NUMBER(1),
    REGISTERED_DELIVERY(1),
    MSG_LEVEL(1),
    SERVICE_ID(10),
    FEEUSER_TYPE(1),
    FEE_TERMINAL_ID(32),
    FEE_TERMINAL_TYPE(1),
    TP_PID(1),
    TP_UDHI(1),
    MSG_FMT(1),
    MSG_SRC(6),
    FEE_TYPE(2),
    FEE_CODE(6),
    VALID_TIME(17),
    AT_TIME(17),
    SRC_ID(21),
    DEST_USR_TL(1),
    DEST_TERMINAL_ID(32),
    DEST_TERMINAL_TYPE(1),
    MSG_LENGTH(1),
    MSG_CONTENT(0),
    LINK_ID(20);
    private int length;
    SubmitRequest(int length) {
        this.length = length;
    }
  
    public int getLength() {
        return length;
    }
    public int getBodyLength() {

        return 151;
    }
}
